<script type="text/html" template lay-done="layui.data.groupAdddone(d);">
    <div class="layui-fluid clearfix groupMain-content ">
        <div class="layui-form">
            <div class="left-card">
                <label class="group-name-label">群组名称：</label>
                <input type="text" name="groupName" required lay-verify="required" placeholder="请输入群组名称" autocomplete="off" value="{{d.params.groupInfo.groupname}}"/>
            </div>
            <div class="right-card">
                <label class="memo-label">备注：</label>
                <textarea name="memoVal">
                    {{# if(d.params.groupInfo){ }}
                        {{d.params.groupInfo.memo}}
                    {{# } }}
                </textarea>
            </div>
            <div class="layui-btn-box">
                <button class="layui-btn layui-btn-primary T-confirm" lay-submit lay-filter="formSubmit">确认</button>
            </div>
        </div>
    </div> 
</script>
<style>
    .groupMain-content{
        padding: 15px;
    }
    .groupMain-content .left-card label{
        color: #2669B1;
        line-height: 60px;
        font-size: 15px;
        letter-spacing: 1px;
    }
    .groupMain-content .left-card input{
        width: 340px;
        height: 30px;
        background: rgba(237,246,254,1);
        border: 1px solid rgba(46,117,212,1);
        border-radius: 6px;
        padding: 0 10px;
    }
    .groupMain-content .left-card select{
        width: 100px;
        background: rgba(237,246,254,1);
        border: 1px solid rgba(46,117,212,1);
        border-radius: 6px;
        height: 30px;
    }
    .groupMain-content .right-card label{
        display: inline-block;
        width: 80px;
        color: #2669B1;
        line-height: 50px;
        font-size: 15px;
        letter-spacing: 1px;
        vertical-align: top;
    }
    .groupMain-content .right-card textarea{
        background: rgba(237,246,254,1);
        border: 1px solid rgba(46,117,212,1);
        border-radius: 6px;
        width: 340px;
        height: 50px;
        padding: 10px 10px;
    }
    .layui-btn-box{
        text-align: center;
    }
    .layui-btn-box .layui-btn{
        margin: 20px 0 0 0;
        color: #FFFFFF;
    }
</style>
<script>
    layui.data.groupAdddone = function(d){
        layui.use(['admin', 'form'], function(res){
            var admin = layui.admin,
                form = layui.form;
        })
    }
</script>